#pragma once

#include <QtGui>

class BigTopButton : public QAbstractButton {

	Q_OBJECT

public:
	BigTopButton(QWidget *parent = 0, QString text = "", QString icon = "");

protected:
	virtual bool event(QEvent *e);
	virtual void paintEvent(QPaintEvent *e);
	virtual void mousePressEvent(QMouseEvent *e);

signals:
	void ButtonClick();

private:	
	bool m_isHover;
	bool m_isPress;
	QPixmap m_icon;
	QPixmap m_normalPixmap;
	QPixmap m_hoverPixmap;
	QPixmap m_downPixmap;
	QPixmap m_disablePixmap;
	QString m_text;

private slots:
	void click();
};
